.class public Lcom/estrongs/fs/impl/usb/fs/ntfs/r;
.super Lcom/estrongs/fs/impl/usb/fs/ntfs/s;
.source "NTFSRecord.java"


# instance fields
.field private final c:Lcom/estrongs/fs/impl/usb/fs/ntfs/t;


# direct methods
.method public constructor <init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/t;[BI)V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-direct {p0, p2, p3}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;-><init>([BI)V

    .line 2
    iput-object p1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->c:Lcom/estrongs/fs/impl/usb/fs/ntfs/t;

    .line 3
    invoke-direct {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->g()V

    return-void
.end method

.method private g()V
    .locals 8
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->e()I

    move-result v0

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->g(I)I

    move-result v1

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->d()I

    move-result v2

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->f()Lcom/estrongs/fs/impl/usb/fs/ntfs/t;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/fs/impl/usb/fs/ntfs/t;->a()Lcom/estrongs/fs/impl/usb/fs/ntfs/a;

    move-result-object v3

    .line 5
    invoke-virtual {v3}, Lcom/estrongs/fs/impl/usb/fs/ntfs/a;->c()I

    move-result v3

    const/4 v4, 0x1

    :goto_0
    if-ge v4, v2, :cond_1

    mul-int v5, v4, v3

    add-int/lit8 v5, v5, -0x2

    mul-int/lit8 v6, v4, 0x2

    add-int/2addr v6, v0

    .line 6
    invoke-virtual {p0, v5}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->g(I)I

    move-result v7

    if-ne v7, v1, :cond_0

    .line 7
    invoke-virtual {p0, v6}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->g(I)I

    move-result v6

    invoke-virtual {p0, v5, v6}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->a(II)V

    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 8
    :cond_0
    new-instance v0, Ljava/io/IOException;

    const-string v1, "Fixup error"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    return-void
.end method


# virtual methods
.method public c()I
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->j(I)I

    move-result v0

    return v0
.end method

.method public d()I
    .locals 1

    const/4 v0, 0x6

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->g(I)I

    move-result v0

    return v0
.end method

.method public e()I
    .locals 1

    const/4 v0, 0x4

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->g(I)I

    move-result v0

    return v0
.end method

.method public f()Lcom/estrongs/fs/impl/usb/fs/ntfs/t;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->c:Lcom/estrongs/fs/impl/usb/fs/ntfs/t;

    return-object v0
.end method
